<?php
namespace app\home\logic;

use app\home\model\AdModel;
use app\home\model\CategoryModel;
use think\Session;

class UserLogic
{
    /**
     * 检查登录
     */
    public function check_logic(){
        if(Session::get('user')){
            return true;
        }else{
            return false;
        }
    }
}
